<!--
 * @Description: 
 * @Autor: 商晓彬
 * @Date: 2021-06-29 10:22:20
 * @LastEditors: 商晓彬
 * @LastEditTime: 2021-11-29 16:01:10
-->
<div bsModal #createOrEditModal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="createOrEditModal" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    <span>配套查询</span>
                </h4>
                <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="m-content">
                <div class="m-portlet m-portlet--mobile">
                    <div class="m-portlet__body">
                        <div class="row align-items-center">
                            <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                <p-table #dataTable [value]="tableData" [paginator]="false" [lazy]="true"
                                    [scrollable]="true" ScrollWidth="100%">
                                    <ng-template pTemplate="header">
                                        <tr>
                                            <th style="width: 50px">序号</th>
                                            <th style="width: 150px">产品图号</th>
                                            <th style="width: 150px">产品名称</th>
                                            <th style="width: 150px">规格</th>
                                            <th style="width: 150px">合格证号</th>
                                            <th style="width: 150px">配套数量</th>
                                            <th style="width: 150px">产品编号</th>
                                            <th style="width: 150px">型号</th>
                                            <th style="width: 150px">发次</th>
                                            <th style="width: 150px">芯级</th>
                                            <th style="width: 150px">部套</th>
                                            <th style="width: 150px">规程编号</th>
                                            <th style="width: 150px">工序号</th>
                                            <th style="width: 150px">工步号</th>
                                        </tr>
                                    </ng-template>
                                    <ng-template pTemplate="body" let-record="$implicit" let-rowIndex="rowIndex">
                                        <tr>
                                            <td style="width: 50px">{{rowIndex+1}} </td>
                                            <td style="width: 150px">{{record.productDrawingNo}}</td>
                                            <td style="width: 150px">{{record.productName}}</td>
                                            <td style="width: 150px">{{record.module}}</td>
                                            <td style="width: 150px">{{record.qualifiedNumber}}</td>
                                            <td style="width: 150px">{{record.completeQuality}}</td>
                                            <td style="width: 150px">{{record.productNumber}}</td>
                                            <td style="width: 150px">{{record.designatedModule}}</td>
                                            <td style="width: 150px">{{record.designatedSendTime}}</td>
                                            <td style="width: 150px">{{record.designatedXJ}}</td>
                                            <td style="width: 150px">{{record.nodeName}}</td>
                                            <td style="width: 150px">{{record.techniqueNumber}}</td>
                                            <td style="width: 150px">{{record.processesSequence}}</td>
                                            <td style="width: 150px">{{record.workStepNumberStr}}</td>
                                        </tr>
                                    </ng-template>
                                </p-table>
                                <!-- 分页条 -->
                                <!-- <div class="primeng-paging-container">
                  <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                    (onPageChange)="getTableList($event)" [totalRecords]="10" [rowsPerPageOptions]="[10,30,50]">

                  </p-paginator>
                  <span class="total-records-count">
                    总共：5
                  </span>
                </div> -->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>